package tq.com.tqteacher.activity;

import android.graphics.Color;
import android.view.View;

import com.githang.statusbar.StatusBarCompat;

import tq.com.tqcom.base.BaseRecycleActivity;
import tq.com.tqteacher.R;
import tq.com.tqteacher.view.TQHeader3ViewHold;

public class ActivityRecycleWithNav extends BaseRecycleActivity {
    private TQHeader3ViewHold header3ViewHold;
    @Override
    protected void initNavigation() {
        super.initNavigation();

        View view = initNav(R.layout.layout_header_3_view);
        header3ViewHold = new TQHeader3ViewHold(this, view);
        header3ViewHold.setTitle("截取");
        StatusBarCompat.setStatusBarColor(this, Color.parseColor("#FFC11A"), true);

        header3ViewHold.setBackClick(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ActivityRecycleWithNav.this.finish();
            }
        });
    }

    public TQHeader3ViewHold getHeader3ViewHold(){return header3ViewHold;}
}
